home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / autoit / autoit-v3.2.0.1-setup.exe / Examples / Helpfile / _DateTimeSplit.au3 < prev    next >
Text File  |  2006-06-17  |  221b  |  13 lines

  1. #include <Date.au3>
  2.  
  3. Dim $MyDate
  4. Dim $MyTime
  5. _DateTimeSplit("2005/01/01 14:30",$MyDate,$MyTime)
  6.  
  7. For $x = 1 to $MyDate[0]
  8.     MsgBox(0,$x,$MyDate[$x])
  9. Next
  10. For $x = 1 to $MyTime[0]
  11.     MsgBox(0,$x,$MyTime[$x])
  12. Next
  13.